package com.yuandian.management.controller;

import com.yuandian.bpm.common.core.util.R;
import com.yuandian.api.management.entity.ConfButtonMapping;
import com.yuandian.management.service.ConfButtonMappingService;
import org.springframework.beans.factory.annotation.Autowired;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.*;
import java.util.List;

 /**
 * 按钮映射关系表-Controller
 * @author zfsn
 * @date 2023-7-28
 */
@Api(tags = "按钮映射关系表功能接口")
@RestController
@RequestMapping("/buttonMappings")
public class ConfButtonMappingController {

	@Autowired
	private ConfButtonMappingService service;


	@ApiOperation(value = "查询按钮映射关系全部数据", notes = "查询按钮映射关系全部数据")
	@GetMapping
	public R<List<ConfButtonMapping>> getAllConfButtonMapping() {
		return R.ok(service.getAllConfButtonMapping());
	}

}